package service;

import pojo.Car;

import java.util.List;

public interface ICarService {

    List<Car> getAllCars();

    Car getCarById(int id);

    boolean updateCar(Car c);

    boolean saveCar(Car c);

    boolean deleteCar(int id);
}
